package com.zs.zcerp.approval.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

/**
 * 流程分类(类别)实体
 *
 * @author henry
 * @email *****@mail.com
 * @date 2021-04-09 20:58:15
 */
@Data
@TableName("QH_BASESTD_D")
public class QhBasestdDEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@TableId("ORG_ID")
	private Integer orgId ;

	/**
	 * 流程编号
	 */
	@Id
	@TableField("BASESTD_NO")
	private String basestdNo;

	/**
	 * 流程序号 1.0---8.0
	 * */
	@Id
	@TableField("FLOW_SEQ")
	private Integer flowSeq;

	/**
	 * 签核人名字
	 */
	@TableField("NAME_S")
	private String nameS;

	/**
	 * 签核人名字  旧值
	 */
	@TableField(exist = false)
	private String oldNameS;

	/**
	 * 流程节点岗位处理人
	 */
	@TableField("NAME_T")
	@Size(min = 2, max = 60, message = "{range}")
	private String nameT;


	/**
	 * 流程名称中文名字
	 */
	@TableField("NAME_E")
	private String nameE;

	/**
	 * 用户邮箱
	 */
	@TableField("TO_MAIL")
	private String toMail;

	/**
	 * $column.comments
	 */
	@TableField("USE_TIMES")
	private Integer useTimes;

	/**
	 * $column.comments
	 */
	@TableField("UP_FLOW")
	private Integer upFlow;

	/**
	 * $column.comments
	 */
	@TableField("MGR_CHK")
	private String mgrChk;

	/**
	 * $column.comments
	 */
	@TableField("ORG_CHKUSER")
	private Integer orgChkUser;



	/**
	 * 节点签核人
	 */
	@TableField("CHK_USER")
	private String chkUser;

	/**
	 * 流程修时间
	 */
	@TableField("CREATE_DATE")
	private Date createDate;

	/**
	 * 流程修改人
	 */
	@TableField("EDIT_USER")
	private String editUser;


	@TableField(exist = false)
	private String oldChkUser;
	/**
	 * $column.comments
	 */
	@TableField("TOP_USER")
	private String topUser;




	/**
	 * $column.comments
	 */
	@TableField("IS_FIRST")
	private String isFirst;

	/**
	 * $column.comments
	 */
	@TableField("IS_LAST")
	private String isLast;

	@TableField(exist = false)
	private String createTimeFrom;

	@TableField(exist = false)
	private String createTimeTo;

	@TableField(exist = false)
	private String orgNameT ;



}
